package com.vegetable.modules.entity.dashboard;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 热销商品数据VO
 *
 * @author qoder
 * @since 2024-01-01
 */
@Data
@ApiModel(value = "HotCommodityVO", description = "热销商品数据")
public class HotCommodityVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品ID")
    private Long commodityId;

    @ApiModelProperty(value = "商品名称")
    private String commodityName;

    @ApiModelProperty(value = "商品编码")
    private String commodityCode;

    @ApiModelProperty(value = "销售数量")
    private BigDecimal salesQuantity;

    @ApiModelProperty(value = "销售金额")
    private BigDecimal salesAmount;

    @ApiModelProperty(value = "排名")
    private Integer rank;

    @ApiModelProperty(value = "销售重量(kg)")
    private BigDecimal salesWeight;

}